package com.shiliang.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.shiliang.common.annotation.Excel;
import com.shiliang.common.core.domain.BaseEntity;

/**
 * 边界表对象 boundary
 * 
 * @author shiliang
 * @date 2025-07-17
 */
public class Boundary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 位置 */
    @Excel(name = "位置")
    private String position;

    /** 线颜色 */
    @Excel(name = "线颜色")
    private String color;

    /** 线宽 */
    @Excel(name = "线宽")
    private Double weight;

    /** 线的透明度 */
    @Excel(name = "线的透明度")
    private Double opacity;

    /** 背景颜色 */
    @Excel(name = "背景颜色")
    private String fillColor;

    /** 背景透明度 */
    @Excel(name = "背景透明度")
    private Double fillOpacity;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }

    public void setWeight(Double weight) 
    {
        this.weight = weight;
    }

    public Double getWeight()
    {
        return weight;
    }

    public void setOpacity(Double opacity) 
    {
        this.opacity = opacity;
    }

    public Double getOpacity()
    {
        return opacity;
    }

    public void setFillColor(String fillColor) 
    {
        this.fillColor = fillColor;
    }

    public String getFillColor() 
    {
        return fillColor;
    }

    public void setFillOpacity(Double fillOpacity) 
    {
        this.fillOpacity = fillOpacity;
    }

    public Double getFillOpacity()
    {
        return fillOpacity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("position", getPosition())
            .append("color", getColor())
            .append("weight", getWeight())
            .append("opacity", getOpacity())
            .append("fillColor", getFillColor())
            .append("fillOpacity", getFillOpacity())
            .toString();
    }
}
